Unity FBXSDK C# API Reference
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Unity.FbxSdk.FbxTime Class Reference
Inheritance diagram for Unity.FbxSdk.FbxTime:

Public Types

enum  EMode {
  eDefaultMode, eFrames120, eFrames100, eFrames60,
  eFrames50, eFrames48, eFrames30, eFrames30Drop,
  eNTSCDropFrame, eNTSCFullFrame, ePAL, eFrames24,
  eFrames1000, eFilmFullFrame, eCustom, eFrames96,
  eFrames72, eFrames59dot94, eModesCount
}
 
enum  EProtocol { eSMPTE, eFrameCount, eDefaultProtocol }
 
enum  EElement {
  eHours, eMinutes, eSeconds, eFrames,
  eField, eResidual
}
 

Public Member Functions

virtual void Dispose ()
 
long GetRaw ()
 
long GetMilliSeconds ()
 
double GetSecondDouble ()
 
bool GetTime (out int pHour, out int pMinute, out int pSecond, out int pFrame, out int pField, out int pResidual, FbxTime.EMode pTimeMode)
 
bool GetTime (out int pHour, out int pMinute, out int pSecond, out int pFrame, out int pField, out int pResidual)
 
FbxTime GetFramedTime (bool pRound)
 
FbxTime GetFramedTime ()
 
int GetHourCount ()
 
int GetMinuteCount ()
 
int GetSecondCount ()
 
long GetFrameCount (FbxTime.EMode pTimeMode)
 
long GetFrameCount ()
 
double GetFrameCountPrecise (FbxTime.EMode pTimeMode)
 
double GetFrameCountPrecise ()
 
long GetFieldCount (FbxTime.EMode pTimeMode)
 
long GetFieldCount ()
 
int GetResidual (FbxTime.EMode pTimeMode)
 
int GetResidual ()
 
char GetFrameSeparator (FbxTime.EMode pTimeMode)
 
char GetFrameSeparator ()
 
override bool Equals (object other)
 
int CompareTo (object other)
 
bool Equals (FbxTime other)
 
override int GetHashCode ()
 
int CompareTo (FbxTime other)
 
string GetTimeString (EElement pStart=EElement.eHours, EElement pEnd=EElement.eResidual, EMode pTimeMode=EMode.eDefaultMode, EProtocol pTimeFormat=EProtocol.eDefaultProtocol)
 

Static Public Member Functions

static void SetGlobalTimeMode (FbxTime.EMode pTimeMode)
 
static FbxTime.EMode GetGlobalTimeMode ()
 
static void SetGlobalTimeProtocol (FbxTime.EProtocol pTimeProtocol)
 
static FbxTime.EProtocol GetGlobalTimeProtocol ()
 
static double GetFrameRate (FbxTime.EMode pTimeMode)
 
static FbxTime.EMode ConvertFrameRateToTimeMode (double pFrameRate, double pPrecision)
 
static FbxTime.EMode ConvertFrameRateToTimeMode (double pFrameRate)
 
static bool IsDropFrame (FbxTime.EMode pTimeMode)
 
static bool IsDropFrame ()
 
static long GetOneFrameValue (FbxTime.EMode pTimeMode)
 
static long GetOneFrameValue ()
 
static bool operator< (FbxTime a, FbxTime b)
 
static bool operator<= (FbxTime a, FbxTime b)
 
static bool operator== (FbxTime a, FbxTime b)
 
static bool operator!= (FbxTime a, FbxTime b)
 
static bool operator>= (FbxTime a, FbxTime b)
 
static bool operator> (FbxTime a, FbxTime b)
 
static FbxTime FromRaw (long pTime)
 
static FbxTime FromMilliSeconds (long pMilliSeconds)
 
static FbxTime FromSecondDouble (double pTime)
 
static FbxTime FromTime (int pHour, int pMinute, int pSecond, int pFrame=0, int pField=0, int pResidual=0, EMode pTimeMode=EMode.eDefaultMode)
 
static FbxTime FromFrame (long pFrames, FbxTime.EMode pTimeMode)
 
static FbxTime FromFrame (long pFrames)
 
static FbxTime FromFramePrecise (double pFrames, FbxTime.EMode pTimeMode)
 
static FbxTime FromFramePrecise (double pFrames)
 
static FbxTime FromTimeString (string pTime, EMode pTimeMode=EMode.eDefaultMode, EProtocol pTimeFormat=EProtocol.eDefaultProtocol)
 

Protected Attributes

bool swigCMemOwn